package com.xique.door.bean.request.buildBuildng;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author shd
 * @create 2021/9/10 14:57
 */
@Data
@ApiModel("楼栋添加参数")
public class BuildBuildingAddRequest {

    /** 车场id */
    @ApiModelProperty(name = "车场id")
    private Long parkId;

    /** 区域id */
    @ApiModelProperty(name = "区域id")
    private Long areaId;

    @ApiModelProperty(name = "楼栋名称")
    private String buildingName;

    @ApiModelProperty(name = "楼栋开始序号")
    private Integer buildingStartNum;

    @ApiModelProperty(name = "楼栋结束序号")
    private Integer buildingEndNum;

    @ApiModelProperty(name = "单元数量")
    private Integer unitNum;

    @ApiModelProperty(name = "每层户数")
    private Integer houseNumber;

    @ApiModelProperty(name = "地面层数")
    private Integer floorNumber;

    @ApiModelProperty(name = "地下层数")
    private Integer undergroundFloorNum;

    @ApiModelProperty(name = "建筑面积")
    private String buildArea;

    /** 建筑年代 */
    @ApiModelProperty(name = "建筑年代")
    private String buildAge;

    /** 产权性质 */
    @ApiModelProperty(name = "产权性质")
    private Integer property;

    /** 有无电梯（0：无，1：有） */
    @ApiModelProperty(name = "有无电梯")
    private Integer hasElevator;

    /** 联系人 */
    @ApiModelProperty(name = "楼栋负责人")
    private String contactName;

    /** 联系电话 */
    @ApiModelProperty(name = "负责人电话")
    private String contactPhone;

    @ApiModelProperty(name = "楼栋描述")
    private String remark;

    @ApiModelProperty(name = "建筑物类型")
    private String buildingType;

    @ApiModelProperty(name = "房屋用途")
    private String buildingPurpose;

    @ApiModelProperty(name = "批量生成房屋")
    private Boolean autoAddHouseFlag;

    @ApiModelProperty(name = "连续编码标志")
    private Boolean serialCodeFlag;


    @ApiModelProperty(name = "楼栋单元编号")
    private String code;

}


